home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacFormat 1997 February
/
macformat-047.iso
/
Shareware Plus
/
Developers
/
CLImax 1.0
/
AppleScript and CLImax
/
Advanced AppleScript
/
Handlers to try
/
tc
/
tc.rsrc
/
TEXT_256.txt
< prev
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1996-04-16
|
288 b
|
13 lines
on tc()
set t to file type of selection
set c to creator type of selection
set n to count items of selection
if n is 1 then return {t,c}
-- else do some more processing
set r to {}
repeat with x from 1 to n
set r to r & {{item x of t, item x of c}}
end repeat
return r
end tc